package com.cgsrp.cgsrp_baby.service;

import com.cgsrp.cgsrp_baby.domain.ChildParentRelation;
import com.cgsrp.cgsrp_baby.domain.Message;
import com.cgsrp.utils.Result;

public interface ChildParentRelationService{


    int deleteByPrimaryKey(Integer id);

    int insert(ChildParentRelation record);

    int insertSelective(ChildParentRelation record);

    ChildParentRelation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ChildParentRelation record);

    int updateByPrimaryKey(ChildParentRelation record);

    boolean add(int babyId, String phone, String relationship, String name);

    boolean del(int childId, int parentId,String name);

    Result accept(Message message);

}
